<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@page contentType="text/html;charset=UTF-8"   language="java"  %>
<%
  	String base = request.getContextPath();
%>
<!DOCTYPE html>
<html>
<c:if test="${sessionScope.language != null && sessionScope.language != ''}">
	<fmt:setLocale value="${sessionScope.language}" scope="session"/>
</c:if>
	<head>
		<meta charset="utf-8">
		<title>Homepage  - Market Place by jasons<%--<fmt:message key="index.title" /><fmt:message key="index.market" />--%></title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">

		<jsp:include page="/pages/common/include.jsp" flush="true"/>
		<link rel="stylesheet" type="text/css" href="<%=base%>/resources/css/shopcar/car.css"/>

	</head>

	<body>

		<div id="offCanvasWrapper" class="mui-off-canvas-wrap mui-draggable">
			<!--侧滑菜单部分-->
			<aside id="offCanvasSide" class="mui-off-canvas-left">
				<div id="offCanvasSideScroll" class="mui-scroll-wrapper">
					<div class="mui-scroll">
						<jsp:include page="/pages/common/menu.jsp" flush="true" />
					</div>
				</div>
			</aside>
			<!--主界面部分-->
			<div class="mui-inner-wrap">
				<header class="mui-bar mui-bar-nav" id="headBox">
					<jsp:include page="/pages/common/top.jsp" flush="true" />
				</header>
				<header class="mui-bar mui-bar-nav GreenHeader">
				    <h1 class="mui-title">My Shopping Cart<%--<fmt:message key="cart.list.title" />--%></h1>
				</header>
				<div id="offCanvasContentScroll" class="mui-content mui-scroll-wrapper noHead">
					<div class="mui-scroll">
						<div class="wrap">
							<div class="delivery-method">
								delivery method<%--<fmt:message key="cart.list.delivery-method" />--%>
								<span class="mui-pull-right">
									<select id="method">
										<option value="Delivery">Delivery<%--<fmt:message key="cart.list.Delivery" />--%></option>
										<option value="Click and Collect">Click and Collect<%--<fmt:message key="cart.list.Collect" />--%></option>
									</select>
								</span>
							</div>
							<div class="changeBox">
								<span>This purchase is to be delivered to <em>Ma On Shan</em></span>
								<a href="javascript:void(0)" class="changeBtn">change<%--<fmt:message key="cart.list.changeBtn" />--%></a>
							</div>
							<div class="content">
								<h4 class="total">
									Net Total (<em>2</em> items)
									<span class="mui-pull-right">$50.00</span>
								</h4>
								<div class="allPro horizontal-list">
									<div class="item">
										<div class="mainCon">
											<div class="proImg">
												<img src="<%=base%>/resources/images/product-pic2.png"/>
												<span><em>offer</em></span>
											</div>
											<div class="mui-media-body">
												<div class="pro-name">vita</div>
												<div class="pro-f-name">lemon tea V6’s 250ml</div> 
												<div class="price">$20.00</div>
												<div class="price-num">
													<span>Qty:</span>
													<div class="mui-numbox" data-numbox-min='1' >
													  <button class="mui-btn mui-numbox-btn-minus" type="button">-</button>
													  <input class="mui-numbox-input" type="number" value="1" />
													  <button class="mui-btn mui-numbox-btn-plus" type="button">+</button>
													</div>
												</div>
											</div>
											<div class="deleteBtn">
												<img src="<%=base%>/resources/images/icon/delete-icon.png" />
											</div>
										</div>										
										<div class="discount">
											<p>Not to miss! (Please click to enjoy offer) View Offers</p>
											View Offers
										</div>
									</div>
									<div class="item">
										<div class="mainCon">
											<div class="proImg">
												<img src="<%=base%>/resources/images/product-pic2.png"/>
												<span><em>offer</em></span>
											</div>
											<div class="mui-media-body">
												<div class="pro-name">vita</div>
												<div class="pro-f-name">lemon tea V6’s 250ml</div> 
												<div class="price">$20.00</div>
												<div class="yh">You have qualified for $58 for 2,BUY 2 VINTA PREM TOILET TISSUE F/CLASSIC MINI HANKS</div>
												<div class="price-num">
													<span>Qty:</span>
													<div class="mui-numbox" data-numbox-min='1' >
													  <button class="mui-btn mui-numbox-btn-minus" type="button">-</button>
													  <input class="mui-numbox-input" type="number" value="1" />
													  <button class="mui-btn mui-numbox-btn-plus" type="button">+</button>
													</div>
												</div>
											</div>
											<div class="deleteBtn">
												<img src="<%=base%>/resources/images/icon/delete-icon.png" />
											</div>
										</div>
									</div>
								</div>
								<div class="sumPrice">
									Order Amount <span class="mui-pull-right">$31.00</span>
								</div>
								<div class="see-offer">
									<h4>See Offer
										<span class="mui-pull-right">
											<img src="<%=base%>/resources/images/icon/delivery-jt-down.png"></span>
									</h4>
									<ul></ul>
								</div>
								<!--<div class="save">
									Saving  <span class="mui-pull-right">$0.00</span>
								</div>-->					
								
								<div class="editBox">
									<h4>Total<strong class="mui-pull-right">$50.00</strong></h4>
									<div class="offer-list">
<!--										<a href="javascript:void(0)" class="seeOffer mui-btn">See Offers</a>-->
										<a href="javascript:void(0)" class="saveTo mui-btn">Save to list<%--<fmt:message key="cart.list.save" />--%></a>
									</div>
								</div>
							</div>
							<div class="footer" id="footer">
								<jsp:include page="/pages/common/footer.jsp" flush="true" />
							</div>
							
						</div>
					</div>
					<div class="empty-check">
						<a href="javascript:void(0)" class="empty mui-btn mui-pull-left"><img src="<%=base%>/resources/images/icon/empty-car.png" />Empty Cart <%--<fmt:message key="cart.list.empty" />--%></a>
						<a href="javascript:void(0)" class="checkOut mui-btn mui-pull-right"><img src="<%=base%>/resources/images/icon/clear-car.png" />Check Out<%--<fmt:message key="cart.list.check" />--%></a>
					</div>
					<div class="goTop"><a class="mui-icon mui-icon-arrowup"></a></div>
					
				</div>
				<!--searchbar-->
					<div class="searchBar">
						<jsp:include page="/pages/common/search.jsp" flush="true" />
					
					<div class="rightBottom animate"></div>
				
					<!-- off-canvas backdrop -->
					<div class="mui-off-canvas-backdrop"></div>				
			</div>
		</div>
		<script type="text/javascript" src="<%=base%>/resources/js/shopcar/list.js" ></script>
		<script>
			//主界面和侧滑菜单界面均支持区域滚动；
			mui('#offCanvasSideScroll').scroll();
			mui('#offCanvasContentScroll').scroll();
		</script>
	</body>

</html>